package com.wrupple.muba.common.client.activity;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.inject.client.AbstractGinModule;
import com.wrupple.muba.common.client.activity.SingletonUtils.DesktopManagerProvider;
import com.wrupple.muba.common.client.activity.SingletonUtils.DesktopServiceBusProvider;
import com.wrupple.muba.common.client.activity.SingletonUtils.EventBusProvider;
import com.wrupple.muba.common.shared.ServiceBus;
import com.wrupple.muba.common.shared.State.DesktopManager;

public class DesktopSingletons extends AbstractGinModule {

	@Override
	protected void configure() {
		/*
		 * Singletons
		 */
		bind(ServiceBus.class).toProvider(DesktopServiceBusProvider.class);
		bind(DesktopManager.class).toProvider(DesktopManagerProvider.class);
		bind(EventBus.class).toProvider(EventBusProvider.class);
	}

}
